package reflect;

import java.util.Arrays;

public class ArgsDemo {
    public static void main(String[] args) {
        doSome(1);
        doSome(1,"a");
        doSome(1,"a","b","c","d");
        doSome(1,"a","b","c","d","a","b","c","d");
    }
    public static void  doSome(int a,String...args){
        System.out.println(args.length);
        System.out.println(Arrays.toString( args));
    }
}
